using System.Data.Entity;

namespace WeBlog.Models
{
    public class BlogDbContext : DbContext
    {
        public BlogDbContext()
            : base("WeBlogConnection")
        {
            
        }

        public DbSet<BlogPost> BlogPosts { get; set; }
        public DbSet<BlogPostComment> Comments { get; set; }

    }
}